#pragma once
#include <Windows.h>
#include <Tlhelp32.h>
#include <Psapi.h>
#include <vector>
#include <atlstr.h>

typedef struct _PROCESS_INFO_ENTRY
{
    CString strProcessName;
    DWORD dwProcessId;
    DWORD dwParentId;
    CString strFilePath;
}PROCESS_INFO_ENTRY, * PPROCESS_INFO_ENTRY;

class CProcessMgr
{
public:
    static BOOL EnumProcessBySnapshot(OUT std::vector<PROCESS_INFO_ENTRY>& vt);
};
